/*   */
package client;
/*   */
/*   */

import handling.channel.ChannelServer;
/*   */ import server.Timer;

/*   */
/*   */ public class MapleClientCheck
        /*   */ {
    /*   */
    public static void start() {
        /* 9 */
        Timer.WorldTimer.getInstance().register(() -> {
            for (ChannelServer cserv : ChannelServer.getAllInstances()) {
                for (MapleCharacter players : cserv.getPlayerStorage().getAllCharacters()) {
                    if (players.getLastCheckProcess() <= 0L) {
                        players.iNeedSystemProcess();
                        continue;
                    }
                    if (System.currentTimeMillis() - players.getLastCheckProcess() >= 100000L)
                        players.iNeedSystemProcess();
                }
            }
        } ,120000L);
        /*   */
    }
    /*   */
}


/* Location:              C:\PGX\Server.jar!\client\MapleClientCheck.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */